{layout name="layout/default" /}
<style>
div.active{background-color:#eee}


</style>
<div id="content-container" class="container-fluid">
        <div class="row">
            <div class="col-md-2 hidden-xs">
                {include file="common/sidenav" /}
            </div>
            <div class="col-md-10 col-xs-12 col-sm-12">
                    <div class="container-fluid">
                        {volist name="row" id="vo"}
                        <div class="row building-item" data-id="{$vo->id}" data-buildingname="{$vo->building_name}" style="border-top: 1px solid #ccc;cursor:pointer">
                            <div class="col col-xs-5 col-md-2" style="border:0px;height:131px;line-height:131px;">
                                <div style="max-width:120px;max-height:120px;overflow: hidden;vertical-align: middle" class="padding">
                                    <a href="view?id={$vo->id}"><img src="{$vo->picture}" style="max-height:120px;width:100%" /></a>
                                </div>
                            </div>
                            <div class="col col-xs-7 col-md-2" style="line-height: 44px;vertical-align: middle;overflow:hidden">
                                <span style="font-weight: bold;font-size:1.8rem;color:#000;"><a href="view?id={$vo->id}">{$vo->building_name}</a></span>
                                <span class="label label-primary">{$vo->state}</span>
                                {volist name="all_labels" id="label_item"}
                                {in name="label_item->id" value="$vo->labels"} <span class="label label-default"
                                    style="color:{$label_item->label_color};border:{$label_item->label_color} 1px solid;background-color:#fff">{$label_item->label_name}</span>
                                {/in}
                                {/volist}
                    
                                <p>{$vo->on_selling}</p>
                                
                            </div>
                            <div class="col col-xs-2 hidden-xs" style="vertical-align: middle;line-height: 131px;height:131px;">
                                <span style="font-size:2.4rem;color:red;font-weight: bold">{$vo->average_price}</span>
                                <span style="font-weight:1.4rem">元/平方</span>
                            </div>
                            <div class="col col-xs-2 hidden-xs" style="line-height: 24px;height:131px;">
                                {$vo->reporting_policy}
                            </div>
                        </div>
                        <div class="row">
                            <div class="col col-xs-12">
                                <p><a href="view?id={$vo->id}">{$vo->address}</a></p>
                            </div>
                        </div>
                        {/volist}
                    </div>
                    <!-- <nav aria-label="Page navigation">
                        <ul class="pagination">
                            <li>
                                <a href="#" aria-label="Previous">
                                    <span aria-hidden="true">&laquo;</span>
                                </a>
                            </li>
                            <li><a href="#">1</a></li>
                            <li>
                                <a href="#" aria-label="Next">
                                    <span aria-hidden="true">&raquo;</span>
                                </a>
                            </li>
                        </ul>
                    </nav> -->
            </div>

